projects
/
emacs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
07e464a
)
(WINDOW_RIGHT_MARGIN): Don't subtract 1 from width when there are no
author
Richard M. Stallman
<rms@gnu.org>
Mon, 4 May 1998 20:14:36 +0000
(20:14 +0000)
committer
Richard M. Stallman
<rms@gnu.org>
Mon, 4 May 1998 20:14:36 +0000
(20:14 +0000)
vertical scrollbars and this is the rightmost window in the frame.
src/window.h
patch
|
blob
|
history
diff --git
a/src/window.h
b/src/window.h
index 29e2565c0c80b8a9216be97a8577cdefce1b1791..1a6c02a309c9482a9e1c7ae75ad35079f7a30559 100644
(file)
--- a/
src/window.h
+++ b/
src/window.h
@@
-212,7
+212,7
@@
struct window
#define WINDOW_RIGHT_MARGIN(W) \
(WINDOW_RIGHT_EDGE (W) \
- (! FRAME_HAS_VERTICAL_SCROLL_BARS (XFRAME (WINDOW_FRAME (W))) \
- ?
1
\
+ ?
((WINDOW_RIGHTMOST_P (W)) ? 0 : 1)
\
: FRAME_HAS_VERTICAL_SCROLL_BARS_ON_RIGHT (XFRAME (WINDOW_FRAME (W))) \
? FRAME_SCROLL_BAR_COLS (XFRAME (WINDOW_FRAME (W))) \
: 0))